stylecontext: Don't use bg image in gtk_style_context_set_background()
authorBenjamin Otte <otte@redhat.com>
Fri, 26 Oct 2012 21:33:40 +0000 (23:33 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 31 Oct 2012 10:09:10 +0000 (11:09 +0100)
commit16677bb85ad78ac57776a679abaa69e3d1fc22b9
treee6f27c1329865203842eda2b753df9c916565062
parentc13efbf8b07145339c08652ade0b438a1f17d137
stylecontext: Don't use bg image in gtk_style_context_set_background()

Old code tried to use the "background-image" proeprty for setting the
default image background. While this used to work in the early days of
GTK3, today it is grossly misleading as the backgronud image may be
resized, repositioned and semi-translucent which causes very weird
artifacts when rendering.

So we use the background-color only instead.
gtk/gtkstylecontext.c